home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Gamer 7.33 (October)
/
PC Gamer Disc 7.33 (October 2003).ISO
/
Data
/
items.pcg
/
scripts
/
DefineSprite_80
/
frame_5
/
DoAction.as
Wrap
Text File
|
2003-07-17
|
1KB
|
51 lines
if(thisprocessor == "" & _parent.loadSysTimeOut >= newTime - startTime)
{
newTime = getTimer();
gotoAndPlay(4);
}
else if(newTime - startTime < loadSysTimeOut)
{
if(thisprocessor.indexOf("Pentium") != -1 | thisprocessor.indexOf("pentium") != -1)
{
_parent.Yprocessor = "Pentium " + speed + "MHz";
}
else if(thisprocessor.indexOf("AMD") != -1 | thisprocessor.indexOf("amd") != -1)
{
_parent.Yprocessor = "AMD " + speed + "MHz";
}
else
{
_parent.Yprocessor = thisprocessor.substring(0,15) + "... " + speed + "MHz";
}
_parent.YRAM = thisram + "MB";
hdFree = int(thisfreehd.substr(thisfreehd.indexOf(":") + 1));
rawHDfree = hdFree;
if(1000 < hdFree)
{
_parent.YHD = thisfreehd.substr(0,thisfreehd.indexOf(":") + 1) + " " + String(hdFree / 1000) + "GB";
}
else
{
_parent.YHD = thisfreehd.substr(0,thisfreehd.indexOf(":") + 1) + " " + String(hdFree) + "MB";
}
if(thisaccel.indexOf("GDI") == -1)
{
_parent.YAPI = thisaccel;
}
else
{
_parent.YAPI = "No 3D Card Found";
}
_parent.YDX = directxversion;
}
else
{
_parent.Yprocessor = "Scan Error";
_parent.YRAM = "Scan Error";
_parent.YHD = "Scan Error";
_parent.YAPI = "Scan Error";
_parent.YDX = "Scan Error";
}
gotoAndStop(1);
_parent.gotoAndPlay("demos");